package com.liy.cloud.common.yy.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liy.cloud.common.yy.dao.YyTicketDetailDao;
import com.liy.cloud.common.yy.entity.YyTicketDetail;
import com.liy.cloud.common.yy.service.YyTicketDetailService;
import com.das.framework.common.dao.IBaseDao;
import com.das.framework.common.service.impl.BaseServiceImpl;

import java.util.List;

/**
 * 设备票箱信息明细表 Service接口服务实现
 * @ClassName: YyTicketDetailServiceImpl
 * @Description: 
 * @author libs
 * @date: 2018-08-15 20:26:13
 */
@Service
public class YyTicketDetailServiceImpl extends BaseServiceImpl<YyTicketDetail, String> implements YyTicketDetailService{

  @Autowired
  private YyTicketDetailDao yyticketdetailDao;
  
  @Override
  public IBaseDao<YyTicketDetail, String> getDao() {
    return yyticketdetailDao;
  }

  @Override
  public List<YyTicketDetail> findByMainId(String mainId) {
    return yyticketdetailDao.findByMainId(mainId);
  }

}            